﻿using BuildStatusIndicator.DelCom.Hardware;
using NUnit.Framework;

namespace BuildStatusIndicator.DelComIntegrationTests
{
    [TestFixture]
    public class DelComVisualIndicatorTests
    {
        [Test]
        public void TurnOff_ShouldTurnOffDelComDevice()
        {
            using (var sut = new DelComVisualSignalIndicatorHandle())
            {
                sut.TurnOff();
            }
        }

        [Test]
        public void TurnOnGreen_ShouldTurnOnDelComDevice()
        {
            using (var sut = new DelComVisualSignalIndicatorHandle())
            {
                sut.TurnOnGreen();
            }
        }

        [Test]
        public void TurnOnRed_ShouldTurnOnDelComDevice()
        {
            using (var sut = new DelComVisualSignalIndicatorHandle())
            {
                sut.TurnOnRed();
            }
        }
    }
}